* {
    padding: 0;
    margin: 0;
    outline: none;
    box-sizing: border-box;
    font-size: 1em;
    text-decoration: none;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    background: url(../images/SanFranHill.jpg) repeat #00597f;
    background-attachment: fixed;
}

img {
    max-width: 100%;
    max-height: 450px;
}

h1 {
    padding: 10px 0;
    font-size: 1.2em;
}

p {
    line-height: 1.3;
}

header {
    width: 100%;
    background: #00597f;
    color: #fff;
    padding: 5px;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0.8;
    z-index: 99;
}

.name_cn {
    font-size: 1.2em;
}

.name_en {
    padding-left: 10px;
}

.contract {
    font-size: 0.8em;
    opacity: 0.8;
}

.phone {
    padding-right: 10px;
}

.email {
    padding-left: 10px;
}

.more {
    position: absolute;
    right: 10px;
    top: 10px;
}

.more img {
    width: 32px;
    height: 32px;
}

nav {
    float: right;
    background: #00597f;
    font-size: 1em;
    line-height: 2.5;
    padding: 0 5px 5px 5px;
    position: fixed;
    right: 0;
    top: 0;
    opacity: 0;
    height: 0;
    overflow: hidden;
    z-index: 90;
    visibility: hidden;
}

nav a {
    color: #fff;
}

nav li {
    list-style: none;
    border-bottom: 1px solid #163F53;
    text-align: center;
    overflow: hidden;
}

nav li:last-child {
    border-bottom: none;
}


/* ----------------------------- */

.nav_animate {
    visibility: visible;
    -webkit-animation: navShow 1s;
            animation: navShow 1s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
    -webkit-animation-iteration-count: 1;
            animation-iteration-count: 1
}

.nav_animate li a {
    position: relative;
    -webkit-animation: liShow 1s;
            animation: liShow 1s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
    -webkit-animation-iteration-count: 1;
            animation-iteration-count: 1
}

.nav_animate_remove {
    -webkit-animation: navHide 1s;
            animation: navHide 1s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
    -webkit-animation-iteration-count: 1;
            animation-iteration-count: 1
}


/* ------------------------------ */

article {
    position: relative;
    z-index: 1;
    height: 100%
}

article section {
    visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
    padding: 59px 5px 0 5px;
    min-height: 100%;
    color: #fff;
    width: 100%;
}

article section:target {
    visibility: visible;
    opacity: 1;
    -webkit-animation: sectionShow 1s;
            animation: sectionShow 1s;
    -webkit-animation-iteration-count: 1;
            animation-iteration-count: 1
}

article section:not(:target) {
    transition: all 1s;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
    z-index: 1;
    opacity: 0;
}

@-webkit-keyframes navShow {
    0% {
        height: 0;
        width: 0;
        opacity: 0;
    }
    50% {
        top: 100px;
        right: 0;
        width: 90%;
        height: auto;
    }
    100% {
        top: 100px;
        right: 0;
        width: 90%;
        height: auto;
        opacity: 0.8;
    }
}

@keyframes navShow {
    0% {
        height: 0;
        width: 0;
        opacity: 0;
    }
    80% {
        right: 0;
        width: 90%;
        height: auto;
    }
    100% {
        right: 0;
        width: 100%;
        height: auto;
        opacity: 0.9;
    }
}

@-webkit-keyframes navHide {
    0% {
        top: 100px;
        left: 10px;
        width: 90%;
        height: auto;
        opacity: 0.8;
    }
    50% {
        opacity: 0;
    }
    100% {
        height: 0;
        opacity: 0;
    }
}

@keyframes navHide {
    0% {
        top: 100px;
        left: 10px;
        width: 90%;
        height: auto;
        opacity: 0.8;
    }
    50% {
        opacity: 0;
    }
    100% {
        height: 0;
        opacity: 0;
    }
}

@-webkit-keyframes sectionShow {
    0% {
        left: -100%;
        opacity: 0;
    }
    100% {
        left: 0;
        opacity: 1;
    }
}

@keyframes sectionShow {
    0% {
        left: -100%;
        opacity: 0;
    }
    100% {
        left: 0;
        opacity: 1;
    }
}

@-webkit-keyframes liShow {
    0% {
        top: 50px;
    }
    90% {
        top: -10px;
    }
    100% {
        top: 0;
    }
}

@keyframes liShow {
    0% {
        top: 50px;
    }
    90% {
        top: -10px;
    }
    100% {
        top: 0;
    }
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%!important;
    text-align: center;
}
